package com.java98k.admin.mapper;

import com.java98k.admin.bean.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {
    @Select("select a.* from admin a where a.account=account")
    Admin login(@Param("account") String account);
}
